package io.xccit.race.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.xccit.common.core.domain.BaseEntity;

/**
 * 竞赛详情对象 race_competition_detail
 * 
 * @author ywx
 * @date 2025-10-9
 */
public class RaceCompetitionDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 详情ID */
    private Long id;

    /** 竞赛ID */
    private Long competitionId;

    /** 主办高校ID */
    private Long universityId;

    /** 赛制ID */
    private Long rulesId;

    /** 一等奖奖品ID */
    private Long firstPrizeId;

    /** 二等奖奖品ID */
    private Long secondPrizeId;

    /** 三等奖奖品ID */
    private Long thirdPrizeId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompetitionId(Long competitionId) 
    {
        this.competitionId = competitionId;
    }

    public Long getCompetitionId() 
    {
        return competitionId;
    }
    public void setUniversityId(Long universityId) 
    {
        this.universityId = universityId;
    }

    public Long getUniversityId() 
    {
        return universityId;
    }
    public void setRulesId(Long rulesId) 
    {
        this.rulesId = rulesId;
    }

    public Long getRulesId() 
    {
        return rulesId;
    }
    public void setFirstPrizeId(Long firstPrizeId) 
    {
        this.firstPrizeId = firstPrizeId;
    }

    public Long getFirstPrizeId() 
    {
        return firstPrizeId;
    }
    public void setSecondPrizeId(Long secondPrizeId) 
    {
        this.secondPrizeId = secondPrizeId;
    }

    public Long getSecondPrizeId() 
    {
        return secondPrizeId;
    }
    public void setThirdPrizeId(Long thirdPrizeId) 
    {
        this.thirdPrizeId = thirdPrizeId;
    }

    public Long getThirdPrizeId() 
    {
        return thirdPrizeId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("competitionId", getCompetitionId())
            .append("universityId", getUniversityId())
            .append("rulesId", getRulesId())
            .append("firstPrizeId", getFirstPrizeId())
            .append("secondPrizeId", getSecondPrizeId())
            .append("thirdPrizeId", getThirdPrizeId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
